package com.learn.ocp.base.impl;

import com.learn.ocp.base.PetService;

/**
 * <p>
 * 狗狗宠物实现类
 * </p>
 *
 * @author liushutong123@163.com 2021/11/11 下午4:04
 */
public class DogServiceImpl implements PetService {

    private String name = "狗";

    @Override
    public void study() {
        System.out.println(name + "学习了汪汪汪");
    }
}
